export const toFixed = (result) => {
  //过滤小数点后两位

  if (typeof result !== "number") {
    result = Number(result);
  }
  return result.toFixed(2);
};
export const toMoney = (money, type = "¥") => {
  //转换钱币类型
  return type + money;
};
